package com.project;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication
@Slf4j
//@EnableCaching//开启springCache缓存
//@EnableScheduling//开启定时任务
@MapperScan("com.project.mapper")
public class main {
    public static void main(String[] args) {
        SpringApplication.run(main.class, args);
    }
}
